-
Notifications
You must be signed in to change notification settings - Fork 26
fix(backstage): add volume for extension catalog entities [RHIDP-11293] #293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Type(Describe updated until commit 1742961)Enhancement, Bug fix Description
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Configuration changes |
| ||||
| Documentation |
| ||||
| Tests |
| ||||
| Enhancement |
|
PR Code Suggestions ✨No code suggestions found for the PR. |
97c21c3 to
8585148
Compare
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
Fortune-Ndlovu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
look good to me, thanks @rm3l should we also update docs looking at the current documentation, it only mentions plugin configurations, but the PR adds support for catalog entities as well. A small update would be helpful. e.g.:
When the catalog index image is configured, the chart extracts catalog entities to `/extensions` inside the Backstage container. For backward compatibility, the entities are also available at `/marketplace` (read-only).Because this requires potential updates to `upstream.backstage.extraVolumes` for cases where it was overridden.
No need for the legacy /marketplace for backward compatibility. This requires redhat-developer/rhdh#3988 to be merged. Co-authored-by: Gennady Azarenkov <[email protected]>
Co-authored-by: Fortune Ndlovu <[email protected]>
6d23a25 to
eafa3d9
Compare
|
Done. See eafa3d9 |



Description
As discussed in https://redhat-internal.slack.com/archives/C04CUSD4JSG/p1767790419980379, we need to extract the catalog entities from the index image to the
/marketplace(to be replaced by/extensionsin redhat-developer/rhdh-plugins#2006) folder, so that the extensions backend providers can automatically discover them. Otherwise, there are no plugins displayed in the RHDH Extensions UI.redhat-developer/rhdh#3970 added support for specifying the extraction dir via a new
CATALOG_ENTITIES_EXTRACT_DIRenv var, which we now need to set in the Install Methods (and additionally add the right volume mounts - we cannot create that folder right in the main container because the root filesystem is read-only for security purposes).On hold until redhat-developer/rhdh#3988 is merged.
Which issue(s) does this PR fix or relate to
How to test changes / Special notes to the reviewer
Before
With the changes here
Checklist
Chart.yamlaccording to Semantic Versioning.values.yamland added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Usepre-commit run -ato apply changes. The pre-commit Workflow will do this automatically for you if needed.pre-commithook.ct lintcommand.